package com.worley.argutils;

import java.util.Set;

import redis.clients.jedis.Jedis;
import redis.clients.jedis.JedisCluster;

@Deprecated
public class JedisProxy extends Jedis {
    
    private JedisCluster jc;

    public JedisProxy(JedisCluster jc) {
        this.jc = jc;
    }

    @Override
    public String get(String key) {
        System.out.println("get:" + key);
        return "";
    }

    @Override
    public Set<String> keys(String pattern) {
        System.out.println("pattern:" + pattern);
        return null;
    }

    @Override
    public String select(int index) {
        System.out.println("不支持选择数据库：" + index);
        return "";
    }

    
    
}
